package cqut.wys.controller;

import cqut.wys.service.HelloService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author wuyoushan@zbj.com
 * @date 2017/4/19.
 */
@RestController
public class HelloController {

    @Autowired
    HelloService helloService;

    public String getHello(){
        String hello=helloService.hello("test");
        return hello;
    }

}
